/*
 * 项目名称:    wms-server-jeecg
 * 创建人员:    DongPeng
 * 创建时间:    2023-10-10
 * copyright(c) 2022 无锡星智数服科技有限公司
 */
package org.jeecg.modules.dock.client;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Body;
import com.dtflys.forest.annotation.ForestClient;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.converter.json.ForestJacksonConverter;
import org.jeecg.modules.dock.entity.nest.NestBaseRequestVO;
import org.jeecg.modules.dock.entity.nest.NestUpdateStatusVO;

/**
 * 套裁提供接口
 *
 * @author DongPeng
 * @version 1.0.0
 * @date 2023-10-10
 * @description 类描述
 */
@BaseRequest(
        baseURL = "${nestAddress}",
        headers = {
            "~request_method:POST", "content-Type:application/json"
        }
)
@ForestClient
public interface NestRequestClient extends BaseRequestClient {
    /**
     * 任务状态更新
     *
     * @param requestVO
     * @return
     */
    @Post(value = "/wrest/open_ws_server/execute", decoder = ForestJacksonConverter.class)
    NestUpdateStatusVO updateStatus(@Body NestBaseRequestVO requestVO);

}
